package com.jdrx.sw.sewage.beans.dto;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * sewage_intelligence_conf
 */
@Data
@ApiModel(value = "IntelligenceConfDTO", description = "人工智能手动参数配置")
public class IntelligenceConfDTO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @NotNull(message = "id不能为空")
    @Range(min = 1)
    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @NotNull(message = "手动配置参数不能为空")
    @ApiModelProperty(value = "手动配置参数")
    private JSONObject confParam;
}